﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="InsertCustomerControl.ascx.cs" Inherits="Control_InsertGroupAccountControl" %>

<div class="right_content">            

      <h2>Insert Customer Settings</h2> 
	
      <fieldset>
                    <dl>
                        <dt><asp:Label ID="Label6" runat="server" Text="FullName: "/></dt>
                        <dd>
                           
                            <asp:TextBox ID="txtFullNameCustomer" runat="server" Width="177px"/>
                             <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                ControlToValidate="txtFullNameCustomer" Display="Dynamic" 
                ErrorMessage="Name Not Null"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                ControlToValidate="txtFullNameCustomer" 
                ErrorMessage="Name can not have special Character" 
                ValidationExpression="(^[a-zA-Z0-9 ]{1,})$"></asp:RegularExpressionValidator>
                        </dd>
                    </dl>                                      
                    
                    <dl>
                        <dt><asp:Label ID="Label3" runat="server" Text="Age: "/></dt>
                        <dd>
                            <asp:TextBox ID="txtAge" runat="server" Width="177px"/>                            
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtAge" Display="Dynamic" ErrorMessage="Age Not Null"/>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtAge" ErrorMessage="Please fill in your age" 
                ValidationExpression="^[1-9][0-9]?$"/>
                        </dd>
                    </dl>                    
                    
                    <dl>
                        <dt><asp:Label ID="Label7" runat="server" Text="Sex: "/></dt>
                        <dd>
                             <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem>Male</asp:ListItem>
                <asp:ListItem>FeMale</asp:ListItem>
            </asp:DropDownList>
                        </dd>
                    </dl>
                    
                     <dl >
                        <dt><asp:Label ID="Label1" runat="server" Text="Address: "/></dt>
                        <dd>
                            <asp:TextBox ID="txtAddress" runat="server" Width="177px"/>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtAddress" Display="Dynamic" ErrorMessage="Address Not Null"/>
                        </dd>
                     </dl>
                     <dl>
                        <dt><asp:Label ID="Label2" runat="server" Text="Phone: "/></dt>
                        <dd>
                            <asp:TextBox ID="txtPhone" runat="server" Width="177px"/>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="txtPhone" Display="Dynamic" ErrorMessage="Phone Not Null"/>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                ControlToValidate="txtPhone" ErrorMessage="Please fill in your phone" 
                ValidationExpression="0\d{9,10}"/>
                        </dd>
                     </dl>

                     <dl>
                        <dt><asp:Label ID="txtEmail" runat="server" Text="Email: "/></dt>
                        <dd>
                            <asp:TextBox ID="TextBox1" runat="server" Width="177px"/>
                           
                        </dd>
                     </dl>
                     
                       <dl>
                        <dt><asp:Label ID="txtCMND" runat="server" Text="Identity Card: "/></dt>
                        <dd>
                            <asp:TextBox ID="TextBox2" runat="server" Width="177px"/>
                            
                        </dd>
                     </dl>
                     
                     <dl>
                        <dt></dt>
                        <dd><asp:Button ID="Button1" runat="server"
        Text="Insert" />
                           <asp:Button ID="Button2" runat="server" 
        Text="Reset" /> 
                    </dd>
                        
                     </dl>                                                                  
                </fieldset>

     </div><!-- end of right content-->
</table>